FROM registry.cn-hangzhou.aliyuncs.com/hzero-cli/cifront:0.0.1
EXPOSE 8000
# COPY --from=builder /app/public /usr/share/nginx/html
WORKDIR /hzero-blocks/
RUN npm install @umijs/utils@3.1.2 @umijs/preset-built-in@3.1.2 express@4.17.1 signale@1.4.0 mockjs@1.1.0 moment@2.24.0 @smock/mock@0.2.3
ADD ./ /hzero-blocks/

ENTRYPOINT [ "node" , "_scripts/mock-server.js" ]
